import static org.junit.Assert.*;

import org.junit.Test;

public class CardTest
{

        @Test
        public void testGetString()
        {
                assertEquals("Ace hearts", Card.getString(0));
                assertEquals("2 hearts", Card.getString(1));
                assertEquals("3 hearts", Card.getString(2));
                assertEquals("4 hearts", Card.getString(3));
                assertEquals("5 hearts", Card.getString(4));
                assertEquals("6 hearts", Card.getString(5));
                assertEquals("7 hearts", Card.getString(6));
                assertEquals("8 hearts", Card.getString(7));
                assertEquals("9 hearts", Card.getString(8));
                assertEquals("10 hearts", Card.getString(9));
                assertEquals("Jack hearts", Card.getString(10));
                assertEquals("Queen hearts", Card.getString(11));
                assertEquals("King hearts", Card.getString(12));
                assertEquals("Ace spades", Card.getString(13));
                assertEquals("2 spades", Card.getString(14));
                assertEquals("3 spades", Card.getString(15));
                assertEquals("4 spades", Card.getString(16));
                assertEquals("5 spades", Card.getString(17));
                assertEquals("6 spades", Card.getString(18));
                assertEquals("7 spades", Card.getString(19));
                assertEquals("8 spades", Card.getString(20));
                assertEquals("9 spades", Card.getString(21));
                assertEquals("10 spades", Card.getString(22));
                assertEquals("Jack spades", Card.getString(23));
                assertEquals("Queen spades", Card.getString(24));
                assertEquals("King spades", Card.getString(25));
                assertEquals("Ace diamonds", Card.getString(26));
                assertEquals("2 diamonds", Card.getString(27));
                assertEquals("3 diamonds", Card.getString(28));
                assertEquals("4 diamonds", Card.getString(29));
                assertEquals("5 diamonds", Card.getString(30));
                assertEquals("6 diamonds", Card.getString(31));
                assertEquals("7 diamonds", Card.getString(32));
                assertEquals("8 diamonds", Card.getString(33));
                assertEquals("9 diamonds", Card.getString(34));
                assertEquals("10 diamonds", Card.getString(35));
                assertEquals("Jack diamonds", Card.getString(36));
                assertEquals("Queen diamonds", Card.getString(37));
                assertEquals("King diamonds", Card.getString(38));
                assertEquals("Ace clubs", Card.getString(39));
                assertEquals("2 clubs", Card.getString(40));
                assertEquals("3 clubs", Card.getString(41));
                assertEquals("4 clubs", Card.getString(42));
                assertEquals("5 clubs", Card.getString(43));
                assertEquals("6 clubs", Card.getString(44));
                assertEquals("7 clubs", Card.getString(45));
                assertEquals("8 clubs", Card.getString(46));
                assertEquals("9 clubs", Card.getString(47));
                assertEquals("10 clubs", Card.getString(48));
                assertEquals("Jack clubs", Card.getString(49));
                assertEquals("Queen clubs", Card.getString(50));
                assertEquals("King clubs", Card.getString(51));
                
        }


}